<!DOCTYPE html>
<html lang="zh-cmn-Hans-CN">
<head>
	<meta charset="utf-8">
	<!-- 优先使用IE最新版本和 Chrome -->
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<!-- 360 浏览器内核控制 -->
	<meta name="renderer" content="webkit|ie-comp|ie-stand">
	<!-- 设置移动设备显示初始比例 -->
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<!-- SEO 三项优化 -->
	<!-- 页面描述 -->
	<meta name="description" content="" />
	<!-- 页面关键词 -->
	<meta name="keywords" content=""/>
	<!-- 页面标题 -->
	<title>登录页面</title>
	<!-- Bootstrap core CSS -->
	<link href="<?php echo base_url() ?>application/views/css/bootstrap.css" rel="stylesheet">
	<style>
			body {
		  padding-top: 40px;
		  padding-bottom: 40px;
		}

		.form-signin {
		  max-width: 530px;
		  margin: 0 auto;
		}
	</style>
	<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
	<!--[if lt IE 9]>
	<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.min.js"></script>
	<script src="http://cdn.bootcss.com/respond.js/1.3.0/respond.min.js"></script>
	<![endif]-->
</head>

<body>
	<div class="container">
		<div class="panel panel-default form-signin">
  		<div class="panel-heading">
    		<h3 class="panel-title">请输入登录信息</h3>
  		</div>
			<div class="panel-body">
				<form class="form-horizontal" role="form" method="POST" action="<?php echo site_url('/user/user/login/') ?>">

					<div class="form-group">
						<label for="email" class="col-sm-2 control-label">Email</label>
						<div class="col-sm-8">
							<!-- 注意：在CI中，只接受元素的name属性值，不接受id属性值，如下面的name改为id后，CI的表单检验功能就失效了。 -->
							<input type="email" class="form-control" name="uemail" placeholder="请输入你注册时的邮箱" required autofocus value="<?php echo set_value('uemail'); ?>"><?php echo form_error('uemail'); ?></div>
						</div>
					<div class="form-group">
						<label for="password" class="col-sm-2 control-label">Password</label>
						<div class="col-sm-8">
							<input type="password" class="form-control" name="upassword" placeholder="请输入你的密码" required value="<?php echo set_value('upassword'); ?>"><?php echo form_error('upassword'); ?></div>
					</div>
					<div class="form-group">
						<div class="col-sm-offset-2 col-sm-8	">
							<button class="btn btn-lg btn-primary btn-block" type="submit">登　录</button>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>

	<!-- Bootstrap core JavaScript
    ================================================== -->
	<!-- Placed at the end of the document so the pages load faster -->
	<script src="<?php echo base_url() ?>application/views/js/jquery.min.js"></script>
	<script src="<?php echo base_url() ?>application/views/js/bootstrap.js"></script>
</body>
</html>
